Release 10.1A: OpenEdge Development:
Java Open Clients


Running a persistent procedure (OpenProcObject) on an OpenAppObject

Once you create your com.progress.open4gl.javaproxy.OpenAppObject instance, you can run any persistent procedure on the connected AppServer using the following method on the OpenAppObject:

Syntax
public OpenProcObject createPO (String procName, ParamArray paramArray) 
                   throws Open4GLException, RunTime4GLException, 
                   SystemErrorException 

procName

Specifies the name of the procedure to run, including any path relative to the PROPATH setting for the AppServer.

paramArray

Specifies a com.progress.open4gl.javaproxy.ParamArray that holds the parameters for the procedure. For more information, see the "Setting up a parameter array" section.

This method returns a com.progress.open4gl.javaproxy.OpenProcObject, which you can use to run internal procedures and user-defined functions provided by the persistent procedure.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095